<%inherit file="/base.mako"/>
<h2>Add Comment to:</h2> <h3>${c.comment.text}</h3>

${c.form.start(name="form", action=h.url_for(action='add'), method="POST") }
${c.form.layout.simple_start()}

${c.form.layout.entry(
    c.form.field.text('author_name'),
    name='Name',
    error=c.form.get_error('author_name')
)}

${c.form.layout.entry(
    c.form.field.text('text'),
    name='Text',
    error=c.form.get_error('text')
)}

${c.form.layout.entry(
    c.form.field.capture_field('captcha'),
    name='Human? Prove it',
    error=c.form.get_error('captcha')

)}

${c.form.layout.entry(
    c.form.field.submit('submit', value="Submit")
)}

${c.form.layout.simple_end()}
 
${c.form.end()}

